package com.jingan.nursinghome.regulatory.model;

import java.io.Serializable;

import cn.android.support.v7.lib.sin.crown.base.BaseEntity;

/**
 * Created by 彭治铭 on 2017/9/26.
 */

public class Topic implements Serializable {

    protected String id = "0";//默认为0

    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return this.id;
    }

    public String stype;//题目状态 1未完成 2已完成
    public String category;//类别
    public String categoryID;//类别ID
    public String title;//标题
    public String titleID;//标题ID,即二级分类ID
    public String count;//总题号，从1开始。
    public String index="1";//下标，从0开始。不是针对总题，而是针对标题title。
    public String titleIndex;//标题计数,从1开始
    public String question;//题目
    public String maxScore;//分数
    public String tscore;//标题总分
    public String standard;//评分标准
    public String focuson = "0";//是否重点,默认不是。0不是，1是重点
    public String rectification = "";//整改，现场整改,计划整改。默认是空。
    public String remark = "";//备注，默认为空
    public String zhengai = "0";//0无整改，1现场整改，2计划整改。
    public String cscore;//当前得分
    public String pscore;
    public String rid;//题目类型id 1静安区 2闸北区

    public String tm_fulei;//题目父类
    public String tm_zilei;//题目子类

    public Topic() {
    }

    public void Copy(Topic topic) {
        this.category = topic.category;
        this.title = topic.title;
        this.titleID = topic.titleID;
        this.count = topic.count;
        this.index = topic.index;
        this.titleIndex = topic.titleIndex;
        this.question = topic.question;
        this.maxScore = topic.maxScore;
        this.tscore = topic.tscore;
        this.standard = topic.standard;
        this.focuson = topic.focuson;
        this.rectification = topic.rectification;
        this.remark = topic.remark;
        this.zhengai = topic.zhengai;
        this.cscore = topic.cscore;
        this.id = topic.id;
        this.rid = topic.rid;
        this.categoryID = topic.categoryID;
        //分数清除
        this.cscore = null;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getCount() {
        return count;
    }

    public void setCount(String count) {
        this.count = count;
    }

    public String getIndex() {
        return index;
    }

    public void setIndex(String index) {
        this.index = index;
    }

    public String getQuestion() {
        return question;
    }

    public void setQuestion(String question) {
        this.question = question;
    }

    public String getMaxScore() {
        return maxScore;
    }

    public void setMaxScore(String maxScore) {
        this.maxScore = maxScore;
    }

    public String getTscore() {
        return tscore;
    }

    public void setTscore(String tscore) {
        this.tscore = tscore;
    }

    public String getStandard() {
        return standard;
    }

    public void setStandard(String standard) {
        this.standard = standard;
    }

    public String getFocuson() {
        return focuson;
    }

    public void setFocuson(String focuson) {
        this.focuson = focuson;
    }

    public String getRectification() {
        return rectification;
    }

    public void setRectification(String rectification) {
        this.rectification = rectification;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getTitleIndex() {
        return titleIndex;
    }

    public void setTitleIndex(String titleIndex) {
        this.titleIndex = titleIndex;
    }

    public String getCscore() {
        return cscore;
    }

    public void setCscore(String cscore) {
        this.cscore = cscore;
    }

    public String getZhengai() {
        return zhengai;
    }

    public void setZhengai(String zhengai) {
        this.zhengai = zhengai;
    }

    public String getStype() {
        return stype;
    }

    public void setStype(String stype) {
        this.stype = stype;
    }

    public String getRid() {
        return rid;
    }

    public void setRid(String rid) {
        this.rid = rid;
    }

    public String getCategoryID() {
        return categoryID;
    }

    public void setCategoryID(String categoryID) {
        this.categoryID = categoryID;
    }

    public String getTitleID() {
        return titleID;
    }

    public void setTitleID(String titleID) {
        this.titleID = titleID;
    }

    public String getPscore() {
        return pscore;
    }

    public void setPscore(String pscore) {
        this.pscore = pscore;
    }

    public String getTm_fulei() {
        return tm_fulei;
    }

    public void setTm_fulei(String tm_fulei) {
        this.tm_fulei = tm_fulei;
    }

    public String getTm_zilei() {
        return tm_zilei;
    }

    public void setTm_zilei(String tm_zilei) {
        this.tm_zilei = tm_zilei;
    }
}
